<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>  
 <%
  String num=request.getParameter("num"); 
    
  int number=  Integer.parseInt(num);
   if(number%2==0)
   {
    //1、地址栏不变
    //2、带参数跳转
      
   request.getRequestDispatcher("ou.jsp").forward(request,response);
    
   }else{
   %>
     <jsp:forward page="ji.jsp"></jsp:forward>
   <%  
   }
   
%>
</body>
</html>
